package com.travel.modules.review.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.travel.modules.review.dao.FeedbackDao;
import com.travel.modules.review.entity.Feedback;
import com.travel.modules.review.service.FeedbackService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service("feedbackService")
public class FeedbackServiceImpl extends ServiceImpl<FeedbackDao, Feedback> implements FeedbackService {
    @Resource
    private FeedbackDao feedbackDao;

    @Override
    public List<Feedback> getFeedbackList(Integer status) {
        return feedbackDao.getList(status);
    }
}
